![]() |
GetMouse |
||||
Header: | Events.h | Carbon status: | Supported | |
Obtains the current mouse location.
void GetMouse ( Point *mouseLoc );
Returns a pointer to a point describing the current mouse location in local coordinates of the current graphics port (for example, the active window). Note that this value differs from the value of the where field of the event structure, which specifies the mouse location in global coordinates.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)